package software.hust.com.hust_last.network;

import java.util.Map;

/**
 * Created by zwjian on 2017/11/13.
 */

public class AddTreasureData extends BaseData {
    public String user_id, user_token, treasure_type, reward_type, prop_id;
    public String latitude, assign_type, hide_time, end_time;
    public String treasure_city, treasure_spot;
    public String longitude, treasure_password, treasure_remark;
    public String treasure_money, treasure_name;
    public String num, radius;


    @Override
    protected String getPath() {
        return "/auto_hide_treasure";
    }

    @Override
    protected void setParams(Map<String, String> params) {
        params.put("user_id", user_id);
        params.put("token", user_token);
        params.put("longitude", longitude);
        params.put("latitude", latitude);
        params.put("treasure_city", treasure_city);
        params.put("treasure_spot", treasure_spot);
        params.put("treasure_name", treasure_name);
        params.put("prop_id", prop_id);
        params.put("treasure_remark", treasure_remark);
        params.put("treasure_type", treasure_type);
        params.put("treasure_password", treasure_password);
        params.put("hide_time", hide_time);
        params.put("end_time", end_time);
        params.put("reward_type", reward_type);
        params.put("treasure_money", treasure_money);
        params.put("assign_type", assign_type);
        params.put("num", num);
        params.put("radius", radius);
    }
}
